package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.UacStaff;
import com.csun.cmny.provider.model.dto.staff.StaffQueryDto;
import com.csun.cmny.provider.model.vo.StaffVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UacStaffMapper extends Mapper<UacStaff> {

    /*
    * 查询列表
    * */
    List<StaffVO> listPage(StaffQueryDto staffQueryDto);

    /*
     * 根据userId查询记录
     * */
    UacStaff selectByUserId(Long userId);

    UacStaff selectByUserIdTest(Long userId);

    List<StaffVO> selectStaffByNotSpecoalist(@Param("staffQueryDto") StaffQueryDto staffQueryDto,@Param("specialistStaffIds") List<Long> specialistStaffIds);

    UacStaff selectStaffByUserId(Long userId);
}